package com.baichang.taoshunda.service;

import com.baichang.framework.excelption.ServiceException;
import com.baichang.taoshunda.entity.Order;

/**
 * Created by ${wushenglu} on 17/09/27.
 */
public interface BalanceDetailsService {
    /**
     * 添加用户账单明细
     *
     * @param out_trade_no
     * @return
     */
    boolean saveBalanceDetail(String out_trade_no) throws ServiceException;

    /**
     *
     * @param order
     * @return
     */

//    boolean saveReturnMoney(Order order,Integer state);

    boolean saveUserBalance(Integer userId,Double allMoney,Integer state,String orderNumber);
}
